package entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

/**
 * ClassName: User
 * Description:
 * date: 2021/10/18 9:03
 *
 * @author muci
 * @since JDK 1.8
 */
public class User implements Serializable {
    static final long serialVersionUID = 6430539691155161871L;

    private Long id;

    private String name;

    @JSONField(format = "yyyy-MM-dd HH:mm;ss")
    private Date birth;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }
}

